body{
    margin: 0px;
    background-color: #000;
    color: #ffffff;
}

.layer1 {
    padding: 20px;
    background-size: cover;
    background-image: url("../../res/img/bg/layer1.avif");
}

.main_block {
    max-width: 1200px;
    margin: auto;
    padding: .2em;
    line-height: 1.5em;

    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    padding-right: 10px;
    background:#000000;
    color:#ffffff;
    height: 100%;
    line-height: 1;
    font-size: 80%;
    font: inherit;
    vertical-align: baseline;
}

::-webkit-scrollbar {
    width: 4px;
}
  
::-webkit-scrollbar-track {
    box-shadow: inset 1 0 10px rgb(0, 0, 0);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        1deg,
        #ffffff 0.02%,
        #fff5c8 0.05%,
        #380101 6%,
        #000000 10%,
        #141414 20%,
        #000000 50%,
        #0e0e0e 80%,
        #000000 100%
      );
    border-radius: 10px;
}

h1{
    color: #dfad50;
}

a{
    text-decoration: none;
}

a:link{
    color:rgb(53, 73, 39)
}

a:visited {
    color:#a02f27;
}

a:hover, a:active {
    color: rgb(255, 255, 255);
  }

@font-face {
    font-family: "PathwayGothicOne";
    size-adjust: 110%;
    src: url("../../res/fonts/PathwayGothicOne-Regular.ttf");
}

@font-face {
    font-family: "UT99";
    src: url("../../res//fonts/UnrealT.ttf");
}

@font-face {
    font-family: "Leela";
    size-adjust: 110%;
    src: url("../../res/fonts/LeelawUI.ttf");
}

div{
    display: block;
    unicode-bidi: isolate;
    font-family: PathwayGothicOne;
}

.IC_font{
    font-family: UT99;
}

.Leela_font{
    font-family: Leela;
}

.separator1{
    width: 100%;
    height: 32px;
    background-image: url("../../res/img/separators/separator1.png");
}

.separator2{
    width: 100%;
    height: 32px;
    background-image: url("../../res/img/separators/separator2.png");
}

.separator3{
    width: 100%;
    height: 32px;
    background-image: url("../../res/img/separators/separator3.png");
}

.separator4{
    rotate: 180deg;
    width: 100%;
    height: 32px;
    background-image: url("../../res/img/separators/separator1.png");
}

.alpha_separator1{
    width: 100%;
    height: 32px;
    position: relative;
    top: calc(70vh - 10px);
    background-image: url("../../res/img/separators/alpha_separator2.png");
}

.corner_separator1{
    height: 32px;
    width: 32px;
    position: absolute;
    left: inherit;
    margin: -1rem -1rem -1rem -1rem;
    background-image: url("../../res/img/separators/corner1.png");
}

.corner_separator2{
    height: 32px;
    width: 32px;
    position: absolute;
    left: inherit;
    margin: -2rem -2rem -1rem -1rem;
    transform: scale(1, -1);
    background-image: url("../../res/img/separators/corner1.png");
}

#wallpaper{
    height: 80vh;
    background-size: 2000px;
    background-color: #000;
    background-image: url("../../res/img/bg/palace.avif");
    background-attachment: fixed;
}

#wallpaper_cannons{
    size-adjust: -20%;
    position: relative;
    left: 0px;
    top: calc(80vh - 603px);
}

#sky{
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-color: #000;
    background-image: url("../../res/img/bg/sky.avif");
    background-attachment: fixed;
    position: absolute;
}


#index{
    background-color: #000;
    background-image: url("../../res/img/bg/bottom_level.avif");
    background-attachment: fixed;
    background-size: cover ;
    height: 200px;
    padding: 5em 10vw;
}

.padded{
    padding-left: 15vw;
    padding-right: 15vw;
    padding-bottom: 1vw;
}

.padded p{
    position: relative;
}

.padded_to_right{
    padding-left: 25vw;
    padding-right: 2vw;
    padding-bottom: 1vw;
}

.padded_to_right p{
    position: relative;
}

.gridform_index{
    padding: 8%;
    display: inline-grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto;
    grid-gap: 10px;
    grid-template-areas: 
      "content1 content1 content2 content2 empty" 
      "content3 content3 content4 content4 empty"
}

.content1{
    grid-area: content1;
}
.content2{
    grid-area: content2;
    padding-left: 2%;
}
.content3{
    grid-area: content3;
}
.content4{
    grid-area: content4;
    padding-left: 2%;
}

.empty{
    grid-area: empty;
    width: 30px;
}

.gridform_poems{
    padding: 8%;
    display: inline-grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto;
    grid-gap: 10px;
    grid-template-areas: 
      "content1 content2 content3 content4 empty" 
      "content5 content6 content7 content8 empty"
}

.content5{
    grid-area: content5;
}
.content6{
    grid-area: content6;
    padding-left: 2%;
}
.content7{
    grid-area: content7;
}
.content8{
    grid-area: content8;
    padding-left: 2%;
}

@keyframes move-it{
    0% {
      background-position: initial;
    }
    100% {
      background-position: 100000px 10000px;
    }
}  

.waves{
    width: 100%;
    height: 100%;
}

.waves:hover{
    background: repeating-linear-gradient(
        1deg,
        #000000,
        #000000 9%,
        #ffffff 5%,
        #ffffff 10%
      );
    background-size: cover;
    animation: move-it 20s linear infinite;
}

.rock_wave{
    background-image: url("../../res/img/bg/pyrite1.jpg");
    width: 100%;
    height: 100%;
    border: double;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.rock_wave:hover{
    background: repeating-linear-gradient(
        4deg,
        #000000,
        #000000 9%,
        hwb(102 23% 65%) 5%,
        hwb(0 100% 0%) 9%,
        hwb(64 30% 29%) 10%
      );
    background-size: cover;
    animation: move-it 20s linear infinite;
}

.copper_wave{
    background-image: url("../../res/img/bg/copper.avif");
    width: 100%;
    height: 100%;
    border: double;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.copper_wave:hover{
    background: repeating-linear-gradient(
        4deg,
        #d5daa3,
        #d5daa3 9%,
        hwb(9 0% 53%) 5%,
        hwb(0 71% 29%) 9%,
        hwb(64 28% 19%) 10%
      );
    background-size: cover;
    animation: move-it 20s linear infinite;
}

.marble_wave{
    background-image: url("../../res/img/bg/marble1.avif");
    width: 100%;
    height: 100%;
    border: double;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.marble_wave:hover{
    background: repeating-linear-gradient(
        4deg,
        #ffffff,
        #ffffff 9%,
        hwb(246 70% 26%) 5%,
        hwb(100 59% 39%) 9%,
        hwb(120 21% 76%) 15%
      );
    background-size: cover;
    animation: move-it 20s linear infinite;
}

.redBox{
    font-size: 80px;
    height: 100%;
    line-height: 100px;
    text-align: center;
}

.redBox:hover{
    opacity:0;
    filter:alpha(opacity=0);
}

.navbar_container_left{
    position: absolute;
    left: 4%;
    top: 93vh;
    padding-right: 10px;

    background-color: #000;
    border-style: double;

    color:#e9827b;
    border-color: #ffffff;
    line-height: 1.5;
    font-size: 1.1em;
    z-index: 2;
}

.navbar_container_bottom{
    position: absolute;
    left: 5%;
    top: 200%;
    padding: 10px;

    background-color: #000;
    border-style: double;

    color:#e9827b;
    border-color: #ffffff;
    line-height: 1.5;
    font-size: 1.1em;
    z-index: 2;
}

.nav {
    min-width: fit-content;
    display: flex;
    gap: 0em;
    flex-direction: column;
    height: 100%;

}

ul {
    list-style: none;
}
  
li {
    padding-left: 0.2em;
    text-indent: -1em;
}
  
.right_pipe{
    position: absolute;
    right: 0%;
    height: 708px;
    width: 199px;
    background-image: url("../../res/img/other/right_pipe.PNG");
}

.metal_support{
    position: absolute;
    width: 14%;
    height: 16.5%;
    background-image: url("../../res/img/other/metal_grate1.png");
    z-index: 1;
    right: 95%;
    top: calc(95vh);
}

.metal_support_bottom{
    position: absolute;
    width: 34%;
    height: 84%;
    background-image: url("../../res/img/other/metal_grate1.png");
    z-index: 1;
    left: 25%;
    top: 82%;
    transform: rotate(90deg);
}

.indexmenu{
    position: relative;
    top: -60px;
    left: -80px;
}


.border_img{
    border-style: double;
    width: 100%;
    height: 100%;
}

.forwards_backwards_ic{
    display: inline-grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto;
    grid-gap: 20px;
    justify-items: center;
    grid-template-areas: 
      "backwards1 middle1 forwards1" 
}

.backwards1{
    grid-area: backwards1;
    padding-left: 2%;
}

.middle1{
    grid-area: middle1;
}
.forwards1{
    grid-area: forwards1;
}

.horror_entry{
    background-image: url("../img/other/Void_Flame1.png");
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18%;
    height: 144px;
    width: 144px;
}

.horror_entry:hover{
    background-image: url("../img/other/Void_Flame2.png");
    height: 144px;
    width: 144px;
}
.trinket_shelf{
    position: fixed;
    background-color: #000;
    width: 100px;
    height: 50px;
    border-style: double;
    border-color: #ffffff;
    top: -2%;
    left: 80%;

    text-align: center;
    padding-top: 20px;
}

.earth_trinket{
    background-image: url("../../res/img/other/earth.png");
    position: fixed;
    top: 55px;
    left: 80%;
    height: 66px;
    width: 30px
}

.earth_trinket:hover{
    background-image: url("../../res/img/other/earth.gif");
}

.earth_trinket:focus{
    background-image: url("../../res/img/other/earth_glow.png");
}

.air_trinket{
    background-image: url("../img/other/air.png");
    position: fixed;
    top: 55px;
    left: 82%;
    height: 35px;
    width: 24px
}

.air_trinket:hover{
    background-image: url("../img/other/air_hover.gif");
}